import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';
import get from '@dfeidao/atom-mobile/local/get';
import nodejs from '@dfeidao/atom-mobile/msg/nodejs';
import render from '@dfeidao/atom-mobile/render/render';
export default async function a002(fd: IFeidaoAiMobile, e: { ref: string; refs: string }, args: {}) {
	const productid = get(fd, 'productid');
	const teacher_no = get(fd, 'teacher_no');
	const res = await nodejs<{ dest: Array<{}> }>('app-my-schedule/s001', { productid, teacher_no });

	render(fd, { data: res.dest, chek: '1' });
}
